<%@ page contentType="text/html; charset=utf-8" import="java.util.*" language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.tjzx.entity.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>四川省人民医院健康体检中心-体检中心</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="style/css.css">
	<link rel="stylesheet" type="text/css" href="style/lanrenxixi.css">
  </head>
  
  <body>
  <div align="center">
  <table width="1000" border ="0" cellpadding ="0" cellspacing ="0">
         <tr>
          <td align="left">
  
<div class="divding" style="text-align: right">
      <a  href="../index.aspx" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('../index.aspx');">设为首页</a>
       <a href="Javascript:window.external.addFavorite(document.location.href,document.title)">加入收藏</a> 
     </div>
 <table width=980>
 	<tr valign="bottom">
 		<td class="divtop01"><img  height=70  width=160 src="images/11.jpg" /> </td>
 		<td>
	 		<table>
	 			<tr>
	 				<td class="divtop04"><a href="main.do">首  页</a></td>
	 				<td class="divtop04"><a href="main.do?method=get&id=29">中心介绍</a></td>
				  <td class="divtop04"><a href="main.do?method=all&newsType=125">体检套餐</a></td>
				  <td class="divtop04"><a href="main.do?method=all&newsType=127">体检公告</a></td>
				  <td class="divtop04"><a href="main.do?method=all&newsType=162">PET-CT</a></td>
				  <td class="divtop04"><a href="main.do?method=vip">VIP直通</a></td>
				  <td class="divtop04"><a href="main.do?method=suggest">投诉建议</a></td>
				  <td class="divtop04"><a href="main.do?method=get&id=41">联系我们</a></td>
			  </tr>
			  </table>
		  </td>
 	</tr>
 	<tr >
 		<td colspan="2" class="divtopimg"><img  height=320  style=" text-align:left; margin-left" width=980 src="images/contents.jpg" /> </td>
 	</tr>
 </table>
  </td>
         </tr>
         <tr>
          <td align="left" valign="top">
            <div class="divzhong">
 		 <!--中间内容 -->
	 <div class="divxun">
 
 <!-- center content -->
	<div class="content2">
 			<div class="divzhongleft">
		    <!--左边内容 -->
		    <div class="divrightlian1">
	          	<div class="divzhongleft11" >
	          	<img src="images/quick.gif" width="49" height="14"/>
	          	</div>
	          	<div class="divzhongleft11">
				  <a href="main.do?method=reserve">  我要预约==》》》</a>
				</div>
				<div class="divzhongleft11">
				  <a href="reserve.do?method=search">预约查询==》》》</a>
				</div>
			</div>

			<div class="divzhongleft2">
				  <div class="divzhongleft21">
				    <div class="divzhongleft22">联系方式</div>
						<div class="divzhongleft23">
							  <div class="divzhongleft231"><img src="images/lianxi2.png" /></div>
							  
							  <div class="divzhongleft232">地址：
			                      一环路西二段32号
							  </div>
							  <div class="divzhongleft232"> 邮编：
							      610072
							  </div>
							  <div class="divzhongleft232"> 服务电话：
			                      028-87394720
							  </div>
			                  <div class="divzhongleft232">&nbsp;&nbsp;&nbsp;&nbsp;
			                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;028-87394801
							  </div>
					</div>
				  </div>
			</div>
			<!--左边内容 -->
		  </div>
 		
 		<!-- news contents -->
			<div class="divjies">
		    <div class="divjies1">
			 <img src="images/xuan.png" width="15" height="15" />体检预约
			</div>
			<div class="divjies2">
			 <div class="xiazai">
			    <img src="images/proe.jpg" />预约信息查询
			 </div>
			 <p></p>
			 <div class="divmess">
			    <form action="reserve.do?method=showsearch" method="post">
				<table width="420" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="40" height="50"><img src="images/user.gif" width="30" height="30"></td>
                    <td width="68" height="50">预约用户</td>
                    <td width="242" height="50"><input type="text" name="username" id="username" style="width:164px; height:32px; line-height:34px; background:url(images/inputbg.gif) repeat-x; border:solid 1px #d1d1d1; font-size:9pt; font-family:Verdana, Geneva, sans-serif;"></td>
                  </tr>
                  <tr>
                    <td height="50"><img src="images/phone.gif" width="28" height="32"></td>
                    <td height="50">联系电话</td>
                    <td height="50"><input type="text" name=tel id="tel" style="width:164px; height:32px; line-height:34px; background:url(images/inputbg.gif) repeat-x; border:solid 1px #d1d1d1; font-size:9pt; "></td>
                  </tr>
                  <tr>
                    <td height="40">&nbsp;</td>
                    <td height="40">&nbsp;</td>
                    <td height="60"><input type="submit" value="查询" /></td>
                  </tr>
                </table>
			 </form>
			 <% String flag = request.getAttribute("searchdo").toString();
			 	if("findrs".equals(flag)){
			 		List<EipReserveMedical> list = (List)request.getAttribute("reserveList");
			 		if(list.size() == 0){
			 %>
			 	<table width="640" border="0" cellpadding="0" cellspacing="0" >
				  <tr>
				   <td>预约不存在，请检查重新输入</td>
				  </tr>
				</table>
			 <%}else{%>
			 	<c:forEach items="${reserveList}" var="EipReserveMedical">
					<table width="420" border="0" align="center" cellpadding="0" cellspacing="0">
			 	<tr>
                    <td width="40" height="50">姓名</td>
                    <td width="68" height="50">${EipReserveMedical.reserveName}</td>
                </tr>
                <tr>
                    <td width="40" height="50">预约时间</td>
                    <td width="68" height="50">${EipReserveMedical.reserveTime}</td>
                </tr>
                <tr>
                    <td width="40" height="50">预约类型</td>
                    <td width="68" height="50">${EipReserveMedical.reserveType}</td>
                </tr>
                <tr>
                    <td width="40" height="50">单位</td>
                    <td width="68" height="50">${EipReserveMedical.reserveUnit}</td>
                </tr>
                <tr>
                    <td width="40" height="50">详细说明</td>
                    <td width="68" height="50">${EipReserveMedical.reserveInfo}</td>
                </tr>
                <tr>
                    <td width="40" height="50">预约回复</td>
                    <td width="68" height="50">${EipReserveMedical.dealInfo}</td>
                </tr>
			 </table>
			    </c:forEach>
			 <%
			 }
			 	}
			 %>
			 
		    </div>
			</div>
		  </div>
		  <!--中间内容 END-->
		  </div>
 			
 	 </div>
	 <!--中间内容 -->
   </div>
 	
 	</td>
         </tr>
         <tr>
          <td align="left">
 	
 	<div class="divbuttom">
     <!--底部内容 -->
	 <div class="divbuttom1">
	     <div style =" margin-left:100px;">Copyright since2011 SICHUAN ACADEMY OF MEDICAL SCIENCES & SICHUAN PROVINCIAL PEOPLE'S HOSPITAL.</div>
	    <div style="float:left;"><img src="images/wr.jpg" /></div>
	   <div style="float:inherit;">
	     版权所有：2011 四川省人民医院健康体检中心
	   </div>
	 </div>
	 <!--底部内容 -->
   </div>
    </td>
         </tr>
       </table>
   
   </div>
  </body>
</html>
